package day04;

/*
 * Author: JacksonCoder
 * FileName: LoopDemo
 * Version: 1.0.0
 * Date: 2025/4/11
 */

public class LoopDemo {

    public static void main(String[] args) {

        for(int i = 0; i < 3; i++){
            System.out.println("i = "+i);
        }

        int n = 0;
        while(n < 3){
            System.out.println("n = "+n);
            n++;
        }

        int m = 0;
        do{
            System.out.println("m = "+m);
            m++;
        }while(m < 3);

    }

}
